package com.yisu.auction.api.core.service.impl;

import com.yisu.auction.api.core.mapper.SystemNoticeMapper;
import com.yisu.auction.api.core.service.ISystemNoticeService;
import com.yisu.auction.api.domain.request.systemPackage.SystemNoticeRequest;
import com.yisu.auction.api.domain.vo.systemPackageVos.SystemNoticeTypeVo;
import com.yisu.auction.api.domain.vo.systemPackageVos.SystemNoticeVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;

/**
 * author: 黄萧林
 * Business Description：
 * createTime：2017/9/1
 */
@Service("ISystemNoticeMapper")
public class SystemNoticeServiceImpl implements ISystemNoticeService {
    @Resource
    private SystemNoticeMapper systemNoticeMapper;


    /**
     * author:黄萧林
     * Business Description:获取系统公告详情信息
     * @return
     */
    @Override
    public List<SystemNoticeVo> getSystemNoticeListByMsgType(SystemNoticeRequest systemNoticeRequest) {
        List<SystemNoticeVo> systemNoticeVos = systemNoticeMapper.getSystemNoticeListByMsgType(systemNoticeRequest);
        return systemNoticeVos;
    }

}
